package com.stone.business.plan.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.SequenceGenerator;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 计划——人员清单
 * 
 */
@Entity
@Table(name = "TAB_PLAN_WORKER")
public class TPlanWorker implements java.io.Serializable {

	private Long id;
	private String  planid;       //计划的ID.
	private String  teamname;     //班组名称.
	private String  leader;       //负责人.
	private String  workers;      //工作人员.
	private String  plantype;     //计划类型   0生产计划，1管理计划
	
	
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_PLAN_WORKER")
	@SequenceGenerator(name="SEQ_PLAN_WORKER",allocationSize=1, sequenceName="SEQ_PLAN_WORKER")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPlanid() {
		return planid;
	}
	public void setPlanid(String planid) {
		this.planid = planid;
	}
	public String getTeamname() {
		return teamname;
	}
	public void setTeamname(String teamname) {
		this.teamname = teamname;
	}
	public String getLeader() {
		return leader;
	}
	public void setLeader(String leader) {
		this.leader = leader;
	}
	public String getWorkers() {
		return workers;
	}
	public void setWorkers(String workers) {
		this.workers = workers;
	}
	public String getPlantype() {
		return plantype;
	}
	public void setPlantype(String plantype) {
		this.plantype = plantype;
	}
}